package com.example.springbootecharts.controller;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import javax.servlet.http.HttpServletRequest;


@Controller
public class Logincontroller {

    @RequestMapping(value = "/")
    public String login(){
        //后缀为.html的文件名
        return "login";
    }
}
